ROUTER

class ROUTER

Description: handle path_info or CGI query string information to logically determine a cgi application flow control. This class allows you use develop a restful api, and then serve up content based upon the path_info or CGI query string information. IE. "/foo/" or "?func=foo"

Constructors

this
this(CGI cgi)
Undocumented in source.

Members

Functions

basePath
string basePath()
Undocumented in source. Be warned that the author may not have intended to support it.
runQueryRoute
bool runQueryRoute(string name, ROUTE route)

Run a route based off if a cgi variable exists in a query string.

runRoute
bool runRoute(string path, ROUTE route)

* run a route based off the path_info envirement variable

Variables

cgi
CGI cgi;
Undocumented in source.

Meta